﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NaireSystem.ViewModels
{
    public class QtModel : VMBase
    {

        private string _Title;
        public string Title { get => _Title; set => Set("Title", ref _Title, value); }

        //private string _Tag;
        //public string Tag { get => _Tag; set => Set("Tag", ref _Tag, value); }

        private int _Score;
        public int Score { get => _Score; set => Set("Score", ref _Score, value); }

        private string _CreatorName;
        public string CreatorName { get => _CreatorName; set => Set("CreatorName", ref _CreatorName, value); }


        private string _StrCreateTime;
        public string StrCreateTime { get => _StrCreateTime; set => Set("StrCreateTime", ref _StrCreateTime, value); }


        private string _Tag;
        public string Tag { get => _Tag; set => Set("Tag", ref _Tag, value); }


        private ObservableCollection<OptionModel> _ListOption = new ObservableCollection<OptionModel>();
        public QtVO data { get; private set; }

        public QtModel(QtVO data)
        {
            this.data = data;
        }

        public ObservableCollection<OptionModel> ListOption { get { return _ListOption; } set { Set("ListOption", ref _ListOption, value); } }



    }


}
